﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using KvoMvc.BusinessEntity;

namespace KvoMvc.BusinessContract
{
    [ServiceContract]
    public interface ISchoolManager
    {
        [OperationContract]
        List<Department> GetDepartmentList();

        [OperationContract]
        List<Person> GetPersonList();

        [OperationContract]
        Person GetPersonById(int id);

        [OperationContract]
        int UpdatePerson(Person person);

        [OperationContract]
        int CreatePerson(Person person);
    }
}
